package com.bitcola.security.admin.mapper;

import com.bitcola.security.admin.vo.CoinSymbol;
import com.bitcola.entity.ColaCoinSymbol;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 交易对
 * 
 * @author Mr.AG
 * @email 463540703@qq.com
 * @date 2018-08-01 09:03:17
 */
@Repository
public interface ColaCoinSymbolMapper extends Mapper<ColaCoinSymbol> {

    /**
     * 交易对列表
     * @return
     */
    List<CoinSymbol> pages();

    /**
     * 详情
     * @param id
     * @return
     */
    CoinSymbol findByCondition(@Param("id") String id);
}
